package com.lanzhou.yuanfen.lottery.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author lcllge
 * @since 2020-06-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("treasure_box")
public class TreasureBox implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "box_key", type = IdType.AUTO)
    private Long boxKey;

    /**
     * 标题
     */
    private String title;

    /**
     * 内容描述, 可以获取到什么
     */
    private String content;

    /**
     * 宝箱类型: 普通, 极品, 砖石, 稀有
     */
    private String type;

    private Long createBy;

    private LocalDateTime createTime;

    private Long updateBy;

    private LocalDateTime updateTime;


}
